package com.llsly.library.repository;

import com.llsly.library.model.Book;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface BookRepository extends JpaRepository<Book, Long> {
    // 根据书名查询书籍
    Book findByTitle(String title);


}